package com.efast.dmom.aps.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.efast.dmom.aps.dao.base.BaseDao;
import com.efast.dmom.aps.entity.ProductRouteEntity;

public interface ProductRouteDao extends BaseDao<ProductRouteEntity>{

	ProductRouteEntity getProductRouteByPartIdAndRouteId(@Param("partId") long partId,@Param("routeId") long routeId);
	List<ProductRouteEntity> getByPartId(long partId);
	ProductRouteEntity getProductRouteByPartNoAndPartVersion(@Param("partNo") String partNo,@Param("partVersion") String partVersion);
	
}
